Skip to content

Conversation

@DaedalusG
Copy link
Contributor

Closes https://linear.app/sourcegraph/issue/REL-993/syntactic-code-intel-worker-container-on-pure-docker-deployment

Add a pure docker deploy script corresponding to the service definition in docker-compose.yaml

Test plan

Tested locally with podman ensuring that the container comes up with expected properties

@DaedalusG DaedalusG requested review from a team, gabtorre and varungandhi-src May 28, 2025 00:08
-e PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000 \
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
-e 'SYNTACTIC_CODE_INTEL_WORKER_ADDR=:3288' \
index.docker.io/sourcegraph/syntactic-code-intel-worker:6.1.1295@sha256:c6e2b097b8f16394e339588e208c43587f1fa6a35cb44e9759622c448ddc1445
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're pinning a SHA here, do we need to go in and update it on every release?

If so, do we need to update any release checklists for doing so?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't actually maintain up to date shas here. Check the release tags to see: https://github.com/sourcegraph/deploy-sourcegraph-docker/blob/v6.3.0/pure-docker/deploy-frontend.sh

It might be worth a later PR to fix this up though, and I'm thinking of adding a test to the pipeline to ensure that services defined in the docker-compose.yaml have a corresponding file here.

Comment on lines 16 to 20
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
-e PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore \
-e PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000 \
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
-e 'SYNTACTIC_CODE_INTEL_WORKER_ADDR=:3288' \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are some of these quoted and others not? Let's be consistent unless there is a specific reason to not be.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I think the reason its inconsistent is just that some of the other shell scripts are inconsistent here and I used amp to generate it from reference

@DaedalusG DaedalusG enabled auto-merge (squash) May 28, 2025 00:25
@DaedalusG DaedalusG merged commit fd2df07 into main May 28, 2025
5 checks passed
@DaedalusG DaedalusG deleted the wg/rel/updated-pure-docker-syntactic-code-intel-worker branch May 28, 2025 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants